﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _86字符串格式化
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            string str = "2020-2-3";
            string[] array = str.Split('-');

            str = string.Format("{0}年{1}月{2}日", array);
            Console.WriteLine(str);
        }
    }
}